txt = "I like bananas"

x = txt.replace("bananas", "apples")

print(x)
